<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>成功页面</title>
</head>
<body>
   <h2 th:text="'用户:'+${userName}"></h2>
   <h2 th:text="'访问端口：'+${port}"> </h2>
   <a href="add">新增</a>
   <table style="" th:with="resums=${@resumeService.queryList()}">
       <thead>
       <td>编号</td>
       <td>姓名</td>
       <td>地址</td>
       <td>手机号</td>

       </thead>
       <tr th:each="resume : ${resums}" >
           <td th:text="${resume.id}">1233</td>
           <td th:text="${resume.name}"></td>
           <td th:text="${resume.address}"></td>
           <td th:text="${resume.phone}"></td>
           <td>
               <a th:href="@{update(id=${resume.id})}">修改</a>
               <a th:href="@{delete(id=${resume.id})}">删除</a>
           </td>
       </tr>
   </table>
</body>
</html>